<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
require("getlist.php");
$get=new getlist();
$json=$get->ajaxSearch("内衣",0,"sell");
$json1=json_decode($json);

for($x=0;$x<count($json1->data);$x++){
     echo '<div class="itme">';
     echo $json1->data[$x]->title;
     echo '<img src="'.$json1->data[$x]->img.'"/>';
     echo '</div>';
}

var_dump($json1->data[0]);